home *** CD-ROM | disk | FTP | other *** search
- 99
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- SetSystemTime
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSetSystemTime sets the current time/date.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baSetSystemTime( Format, NewTime )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, string.
- --- RECORDSEPARATOR ---
- Format is the time/date format to set. Can be either "time" or "date".
- --- RECORDSEPARATOR ---
- NewTime is the time/date to set.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 1 if successful, otherwise 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set ok = baSetSystemTime( "date", "19980523" ) - sets the date to 23 June 1998
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- ok := baSetSystemTime( "time", "102300" ) - sets the time to 23 past 10
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- The format for the time or date must be as follows:
- --- RECORDSEPARATOR ---
- "time" is in 24 hour format with leading zeros - hours, minutes and seconds and
- --- RECORDSEPARATOR ---
- must be 6 characters
- --- RECORDSEPARATOR ---
- "date" is in year, month, day with leading zeros and must be 8 characters long,
- --- RECORDSEPARATOR ---
- The "date" and "time" formats are the same as those returned by baSystemTime.
- --- RECORDSEPARATOR ---
- This function does not work on OSX.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baSystemTime